package com.lanju.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="lj_topic")
public class Topic implements Serializable{

	 private static final long serialVersionUID = -4211008113461691607L;
	 
	 private Integer topic_id;
	 
	 private String topic_name;
	 
	 private String topic_url;
	 
	 private String  topic_img;
	 
	 private Integer status;
	 
	 private Date create_time;
	 
	 private Date  update_time;
	 
	 private String creator;
	 
	 private String updator;
	 
	 @Id
	 @Column(name="topic_id",unique=true,nullable=false)
	 @GeneratedValue(strategy=GenerationType.IDENTITY)
	public Integer getTopic_id() {
		return topic_id;
	}

	public void setTopic_id(Integer topic_id) {
		this.topic_id = topic_id;
	}

	public String getTopic_name() {
		return topic_name;
	}

	public void setTopic_name(String topic_name) {
		this.topic_name = topic_name;
	}

	public String getTopic_url() {
		return topic_url;
	}

	public void setTopic_url(String topic_url) {
		this.topic_url = topic_url;
	}

	public String getTopic_img() {
		return topic_img;
	}

	public void setTopic_img(String topic_img) {
		this.topic_img = topic_img;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	 
}
